<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
      >
    <body>
        <ui:composition>
        <f:view locale="#{language.countryCode}" >
		<h:form id="frmHeader"  >	
			<div id="top" >
				<div id="logo"><h:graphicImage height="80px" width="200px" value="../resources/images/logo.png" ></h:graphicImage></div>
				
				<div id="lang-area" >
					<h:panelGrid columns="2" cellpadding="2px" cellspacing="2px" >
						<h:commandLink action="#{language.setLanguage}" >
							<f:setPropertyActionListener target="#{language.countryCode}" value="no"></f:setPropertyActionListener>
							<h:graphicImage  value="../resources/images/nor.jpg" ></h:graphicImage>
						</h:commandLink>
						
						<h:commandLink action="#{language.setLanguage}" >
							<f:setPropertyActionListener target="#{language.countryCode}" value="en"></f:setPropertyActionListener>
							<h:graphicImage value="../resources/images/usa.jpg" ></h:graphicImage>
						</h:commandLink>
					</h:panelGrid>
				</div>
				<div id="login-area" >
					<div id="top_login">
						<h:panelGrid  columns="3" border="0" cellspacing="2" cellpadding="0">
							<h:column  >
								<div style="margin-left: 10px; margin-right:5px; float: left;" ><h:outputText id="login_mob" value="#{msg.mobileNumber}" ></h:outputText></div> 
								<h:inputText size="10"  value="#{loginBean.mobNr_top}"  ></h:inputText>
							</h:column>
							<h:column   >
								<div style="margin-left: 10px;margin-right:5px;float: left;" ><h:outputText id="login_pwd" value="#{msg.password}" ></h:outputText> </div>
								<h:inputSecret size="10"  id="login_Pwd" value="#{loginBean.pwd_top}"  />
							</h:column>
							<h:column>
								<div style="margin-left: 10px;margin-right:5px;float: left;" ><h:commandButton action="#{loginBean.userLogin_top}" image="../resources/images/login.jpg" width="40"> </h:commandButton> </div>
							</h:column>
						</h:panelGrid >
					</div>
					
					
					<div id="top_errormsg">
						<h:outputText id="loginFail" styleClass="required" value="#{loginBean.loginFailMsg_top}" />
					</div>
				</div>
				
			</div>
			<div id="header" />
			<div id="menu">
				<h:panelGrid columns="3" width="100%" border="0" cellpadding="0" cellspacing="0">
					<h:panelGroup  ><h:graphicImage value="../resources/images/ml.gif"  alt="" width="2" height="54" ></h:graphicImage></h:panelGroup>
					<h:panelGroup >
						<h:panelGrid width="100%" columns="11" border="0" align="center" cellpadding="0" cellspacing="0">
							<h:panelGroup ><h:link outcome="index.xhtml" value="#{msg.home}" ></h:link>  </h:panelGroup>
							<h:panelGroup style="width:2"><h:graphicImage value="../resources/images/ms.gif" alt="" width="2" height="54" ></h:graphicImage> </h:panelGroup>
							
							<h:panelGroup ><h:link outcome="aboutUs.xhtml" value="#{msg.aboutUs}"  ></h:link>  </h:panelGroup>
							<h:panelGroup style="width:2"><h:graphicImage value="../resources/images/ms.gif" alt="" width="2" height="54" ></h:graphicImage> </h:panelGroup>
							
							<h:panelGroup ><h:link outcome="signup.xhtml" value="#{msg.signUp}"  ></h:link>  </h:panelGroup>
							<h:panelGroup style="width:2"><h:graphicImage value="../resources/images/ms.gif" alt="" width="2" height="54" ></h:graphicImage> </h:panelGroup>
							
							<h:panelGroup ><h:link value="Testimonials" ></h:link>  </h:panelGroup>
							<h:panelGroup style="width:2"><h:graphicImage value="../resources/images/ms.gif" alt="" width="2" height="54" ></h:graphicImage> </h:panelGroup>
							
							<h:panelGroup ><h:link value="Coupan"  ></h:link>  </h:panelGroup>
							<h:panelGroup style="width:2"><h:graphicImage value="../resources/images/ms.gif" alt="" width="2" height="54" ></h:graphicImage> </h:panelGroup>
							
							<h:panelGroup ><h:link value="Pictures"  ></h:link>  </h:panelGroup>
						</h:panelGrid>
					</h:panelGroup>
					<h:panelGroup ><h:graphicImage   value="../resources/images/mr.gif"  alt="" width="2" height="54" ></h:graphicImage></h:panelGroup>
				</h:panelGrid>
			</div>
	    </h:form>
	    </f:view>
	    </ui:composition>
	    
    </body>
</html>


